package com.quick.develop.flowable.domain.vo.instance;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/** 
 * @description  
 * @author junyuan.liu
 * @date 2022/9/19 18:59
 */ 

@ApiModel("流程管理后台 - 流程实例的取消 Request VO")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BpmProcessInstanceCancelReqVO implements Serializable {

    private static final long serialVersionUID = -5880143470296459405L;
    
    @ApiModelProperty(value = "流程实例的编号", required = true)
    @NotEmpty(message = "流程实例的编号不能为空")
    private String processInstanceId;

    @ApiModelProperty(value = "取消原因",  example = "不请假了！")
    private String reason;

}
